import { Schema, model } from 'mongoose';

const SessionSchema = new Schema({
    'user_id': { type: String, require: true },
    title: { type: String },
    content: { type: String },
    'create_time': { type: Number, require: true },
});

export default model('Session', SessionSchema);